/*
 * @Author: sansuixiaoxianxian 1634119605@qq.com
 * @Date: 2025-07-04 09:10:17
 * @LastEditors: sansuixiaoxianxian 1634119605@qq.com
 * @LastEditTime: 2025-07-11 11:18:03
 * @FilePath: /travel-record-library/src/pages/SystemDataManagement/SystemDataManagement.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import {
	travelAddressLibraryKey,
	travelPeopleLibraryKey,
	travelRecordLibraryKey,
	lumpSumCarFareLibraryKey,
} from "@/assets/global"
import { UploaderFileListItem } from "vant"

// 仅安卓端导出文件时，在页面显示导出路径
export const DOWNLOAD_PATH = "/SDcard/Android/data/plus.H53541068/documents/"


export default class SystemDataManagementClass {
	downloadInfoTip = ""
	selectProject = [] as string[]
	isCheckAll = false
	isIndeterminate = true
	files: UploaderFileListItem[] = []
	showExportExcelDialog: boolean = false
}

export const menuList = [
	{
		title: "出差记录库",
		library: travelRecordLibraryKey,
	},
	{
		title: "出差人员库",
		library: travelPeopleLibraryKey,
	},
	{
		title: "出差地址库",
		library: travelAddressLibraryKey,
	},
	{
		title: "交通费用库",
		library: lumpSumCarFareLibraryKey,
	},
]

export interface TMenuList {
	title: string
	library: string
}
